<template>
  	<div id="withdrawDetail">
  		<header>
  			<i @click="goBack()"></i>
  			<div>提现明细</div>
  		</header>
		<ul class="list">
			<li v-for="x in list">
				<a>
	  				<img src="../../img/12.png" width="120" height="105" />
	  				<div>		
		  				<h3>预防蛀牙的蛀牙的蛀牙蛀牙蛀牙蛀牙蛀牙蛀牙蛀牙蛀牙的蛀牙的有效措施</h3>
	  					<p>￥<i>234</i><span>299元</span></p>
	  				</div>
  				</a>
  				<p>
  					总收益:<i>234</i>元
  					<a href="javascript:;" class="withdraw" v-show='x.id'>提现</a>
  					<a href="javascript:;" v-show='!x.id' class="hasWithdraw">已提现</a>
  				</p>
			</li>
		</ul>
	</div>
</template>
<script>
	export default {
		data() {
			return {
				list: [
					{
						id: '',
					},
					{
						id: 2,
					},
					{
						id: 2,
					},
				],
			}
		},
		components: {
			
		},
		methods: {
			goBack() {
				this.$router.push({path:'myearnings'})
			},
			
		},
		created() {
			// this.$api.get("topics", null, r => {
			// 	console.log(r);
			// 	this.list = [1,2,3];	
			// })
		}
	}
</script>
<style lang="scss">
</style>
